package com.hongxun.project.assets.bDivice.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hongxun.framework.web.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 配电设备基础表 b_divice
 * 
 * @author hongxun
 * @date 2019-03-19
 */
public class BDivice extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private String id;
	/** 大类 */
	private String bigType;
	/** 中类 */
	private String midType;
	/** 标签 */
	private String lable;
	/** 名称 */
	private String name;
	/** 规格型号 */
	private String modle;
	/** 物质编码 */
	private String code;
	/** 单位 */
	private String unit;
	/** 价格 */
	private BigDecimal price;
	/** 技术参数 */
	private String techParameter;
	/** 发布状态 */
	private Date addDate;
	/** 新增人 */
	private Integer addUser;
	/** 更新人 */
	private Integer updateUser;
	/** 更新时间 */
	private Date updateDate;
	/** 物资库ID */
	private String storeId;

	public void setId(String id) 
	{
		this.id = id;
	}

	public String getId() 
	{
		return id;
	}
	public void setBigType(String bigType) 
	{
		this.bigType = bigType;
	}

	public String getBigType() 
	{
		return bigType;
	}
	public void setMidType(String midType) 
	{
		this.midType = midType;
	}

	public String getMidType() 
	{
		return midType;
	}
	public void setLable(String lable) 
	{
		this.lable = lable;
	}

	public String getLable() 
	{
		return lable;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setModle(String modle) 
	{
		this.modle = modle;
	}

	public String getModle() 
	{
		return modle;
	}
	public void setCode(String code) 
	{
		this.code = code;
	}

	public String getCode() 
	{
		return code;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public void setTechParameter(String techParameter)
	{
		this.techParameter = techParameter;
	}

	public String getTechParameter() 
	{
		return techParameter;
	}
	public void setAddDate(Date addDate) 
	{
		this.addDate = addDate;
	}

	public Date getAddDate() 
	{
		return addDate;
	}
	public void setAddUser(Integer addUser) 
	{
		this.addUser = addUser;
	}

	public Integer getAddUser() 
	{
		return addUser;
	}
	public void setUpdateUser(Integer updateUser) 
	{
		this.updateUser = updateUser;
	}

	public Integer getUpdateUser() 
	{
		return updateUser;
	}
	public void setUpdateDate(Date updateDate) 
	{
		this.updateDate = updateDate;
	}

	public Date getUpdateDate() 
	{
		return updateDate;
	}
	public void setStoreId(String storeId) 
	{
		this.storeId = storeId;
	}

	public String getStoreId() 
	{
		return storeId;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bigType", getBigType())
            .append("midType", getMidType())
            .append("lable", getLable())
            .append("name", getName())
            .append("modle", getModle())
            .append("code", getCode())
            .append("techParameter", getTechParameter())
            .append("addDate", getAddDate())
            .append("addUser", getAddUser())
            .append("updateUser", getUpdateUser())
            .append("updateDate", getUpdateDate())
            .append("storeId", getStoreId())
            .toString();
    }
}
